/*  1:   */ package com.atomikos.beans;
/*  2:   */ 
/*  3:   */ import java.beans.PropertyChangeEvent;
/*  4:   */ import java.beans.PropertyChangeListener;
/*  5:   */ import java.beans.PropertyChangeSupport;
/*  6:   */ 
/*  7:   */ class PropertyChangeAdapter
/*  8:   */   implements PropertyChangeListener
/*  9:   */ {
/* 10:   */   private PropertyChangeSupport support_;
/* 11:   */   private Editor source_;
/* 12:   */   
/* 13:   */   PropertyChangeAdapter(Editor source)
/* 14:   */   {
/* 15:48 */     this.source_ = source;
/* 16:49 */     this.support_ = new PropertyChangeSupport(source);
/* 17:   */   }
/* 18:   */   
/* 19:   */   public void propertyChange(PropertyChangeEvent event)
/* 20:   */   {
/* 21:54 */     PropertyChangeEvent adapted = new PropertyChangeEvent(this.source_, null, null, null);
/* 22:55 */     this.support_.firePropertyChange(adapted);
/* 23:   */   }
/* 24:   */   
/* 25:   */   public void addPropertyChangeListener(PropertyChangeListener l)
/* 26:   */   {
/* 27:61 */     this.support_.addPropertyChangeListener(l);
/* 28:   */   }
/* 29:   */   
/* 30:   */   public void removePropertyChangeListener(PropertyChangeListener l)
/* 31:   */   {
/* 32:66 */     this.support_.removePropertyChangeListener(l);
/* 33:   */   }
/* 34:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\atomikos-util\3.7.0\atomikos-util-3.7.0.jar
 * Qualified Name:     com.atomikos.beans.PropertyChangeAdapter
 * JD-Core Version:    0.7.0.1
 */